package com.jumi.microservice.stock.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Description 仓库占用库存传输类
 * @ClassName StockOccupyDTO
 * @Author Abel Yang
 * @Date 2020/9/9/009 14:17
 **/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "StockOccupy4WarehouseDTO", description = "仓库占用库存传输类")
@Data
public class StockOccupy4WarehouseDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = -7011050502225853398L;

    @ApiModelProperty(value = "物料id")
    private Long materialId;
    @ApiModelProperty(value = "商品id")
    private Long goodsId;
    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;
    @ApiModelProperty(value = "订单号")
    private String orderSn;
    @ApiModelProperty(value = "售后订单号")
    private String afterSaleOrderSn;
    @ApiModelProperty(value = "仓库出库申请id")
    private Long outStockApplyId;
    @ApiModelProperty(value = "是否破损：false-正规(非破损), true-破损")
    private Boolean isDamage;
    @ApiModelProperty(value = "占用数")
    private Integer occupyNum;
    @ApiModelProperty(value = "变动类型，变动类型字典value")
    private Integer changeType;
    @ApiModelProperty(value = "操作人")
    private String updateBy;
    @ApiModelProperty(value = "是否为更新操作0:否 1：是")
    private Byte isUpdate;
    @ApiModelProperty(value = "是否为取消订单0:否 1：是")
    private Byte isCancellationOrder;
   @ApiModelProperty(value = "记录日志变动原因id")
    private String changeReasonId;

}
